package com.itheima.mString;

public class w1 {
    public static void main(String[] args) {
        String s = "你好么?很好!!!";
        String rep = s.replace("好", "帅");
        System.out.println("s:" + s);
        System.out.println("rep:" + rep);
        System.out.print("chars:");
        char[] chars = s.toCharArray();
        for (int i = 0; i < chars.length; i++) {
            System.out.print(chars[i]);
        }
    }
}
